$OpenBSD: patch-blitz_CMakeLists_txt,v 1.1 2017/05/07 21:34:53 espie Exp $
unhardcode gcc

Index: blitz/CMakeLists.txt
--- blitz/CMakeLists.txt.orig
+++ blitz/CMakeLists.txt
@@ -33,7 +33,7 @@ if(HAVE_MMX)
     if(NOT APPLE AND NOT WIN32)
         set( blitz_LIB_SRCS ${blitz_LIB_SRCS} asm_scale.S )
         add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/asm_scale.o
-            COMMAND gcc -c ${CMAKE_CURRENT_SOURCE_DIR}/asm_scale.S
+            COMMAND ${CMAKE_C_COMPILER} -c ${CMAKE_CURRENT_SOURCE_DIR}/asm_scale.S
             DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/asm_scale.S )
         set( blitz_LIB_EXTRA_SRCS ${CMAKE_CURRENT_BINARY_DIR}/asm_scale.o )
         set(HAVE_EXTERNAL_ASM TRUE)
